import request from '@/utils/request'

let api = {};

api.list = (data)=>{
    return request({
        url:"/api/member/system/listConfigs",
        method:"post",
        data
    });
}

api.add = (data)=>{
    return request({
        url:"/api/member/system/addConfig",
        method:"post",
        data
    });
}

api.delete = (data)=>{
    return request({
        url:"/api/member/system/softdeleteConfig",
        method:"post",
        data
    });
}

api.edit = (data)=>{
    return request({
        url:"/api/member/system/editConfig",
        method:"post",
        data
    });
}


export default api;